<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <script type="text/javascript" src="__JS__/rem.js"></script>
    <script type="text/javascript" src="__JS__/jquery-1.8.0.min.js"></script>    
    <link type="text/css" rel="stylesheet" href="__CSS__/public.css" />
    <link type="text/css" rel="stylesheet" href="__CSS__/clinic.css" />
    <title>诊所订单</title>
    <script type="text/javascript">
        $(function(){
            $(".orderNav li").click(function(){
                $(this).addClass("current").siblings().removeClass("current");
            })
                       
        })
    </script>
</head>
<body>
    <div class="P_Header">
        <div class="P_main">
            <h2 class="P_title">诊所订单</h2>
            <span class="P_goBack"><!--<a href="javascript:window.history.back(-1)"><img src="/Public/Home/Saleman/images/back_icon.png" alt="" style="width:10px;height:20px;"></a>-->
              <a href="javascript:window.history.back(-1)" id="my_back_btn" class='h_back_1'><i></i></a>
            </span>
        </div>
    </div>
    <div class="clinicOrder">
        <ul class="orderNav pad_l_r bg_f ov_h">
            <li
              <?php if(!isset($_GET['status'])){?>
              class="current"
              <?php }?>
            ><a href="/Doctor/Clinic/Clinic/clinicorder">全部</a></li>
            <li
             <?php if(isset($_GET['status']) && $_GET['status']==0){?>
              class="current"
              <?php }?>
            ><a href="/Doctor/Clinic/Clinic/clinicorder/status/0">待发货</a></li>
            <li
              <?php if(isset($_GET['status']) && $_GET['status']==1){?>
              class="current"
              <?php }?>
            ><a href="/Doctor/Clinic/Clinic/clinicorder/status/1">已完成</a></li>
        </ul>
        <ul class="orderLists">
        <volist name="list" id="data">
            <li>
                <div class="pic"><img src="{$data.img}"></div>
               <a href="/Doctor/Clinic/Clinic/orderdetail/id/{$data.id}"> <p class="ov_h info">
                    <span class="left c_333 name">{$data.drugs_name}</span>
                    <span class="right time">{$data.add_date}</span>
                </p>
                <p class="num">订单号：<span>{$data.id}</span></p>
                <p class="money">总价：<em class="c_red">{$data.total_price}</em> 元</p>
                <span class="state blue"><if condition="$data.status eq 0">待处理<elseif condition="$data.status eq 1"/>已完成<else/>退货</if></span>
                </a>
            </li>
         </volist>                              
        </ul>
    </div> 
</body>
</html>
<script src = "__SaleManager__/js/androidback.js"></script>
<script>
$(function(){
    function back_callback() {
    history.go(-1);
}
})
</script>